<template>
  <div class="kh-err-msg">
    <p>{{msg}}</p>
  </div>
</template>

<script>
  export default {
    name: "error-top",
    data() {
      return {
        msg: '你输入的账号密码不存在！'
      }
    }
  }
</script>

<style lang="scss" scoped>
  /*error -style*/
  .kh-err-msg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    background-color: red;
    color: #FFF;
  }
</style>
